[StructLayout(LayoutKind.Sequential)]
public struct WALLPAPEROPT
{
public static readonly int SizeOf = Marshal.SizeOf(typeof(WALLPAPEROPT));
public int dwSize;
public WallPaperStyle dwStyle;
}
Structure WALLPAPEROPT
Public TODO
End Structure
None.
WALLPAPEROPT opts = new WALLPAPEROPT();
opts.dwSize = WALLPAPEROPT.SizeOf;
See WallPaperStyle.